package condition;

import java.awt.Point;
import base.Engine;
import base.Piece;

public abstract class MoveRule {
	private Engine engine;
	
	public MoveRule(Engine engine) {
		this.engine = engine;
	}
	
	public Engine getEngine() {
		return this.engine;
	}
	
	public abstract boolean isValidMove(Piece piece, Point destination);
}
